//
//  UIButton+ADUtil.h
//  ADKit
//
//  Created by adu on 2018/6/11.
//

#import <UIKit/UIKit.h>
#import "ADButton.h"

@interface UIButton (ADLocalized)

@property (nonatomic, copy) IBInspectable NSString *localized_title;
@property (nonatomic, copy) IBInspectable NSString *localized_title_selected;
@property (nonatomic, copy) IBInspectable NSString *localized_title_disable;

@end

@interface UIButton (ADIBnspectable)

@property (strong,nonatomic) IBInspectable UIColor *normalBackColor;
@property (strong,nonatomic) IBInspectable UIColor *selectBackColor;
@property (strong,nonatomic) IBInspectable UIColor *highlightBackColor;
@property (strong,nonatomic) IBInspectable UIColor *disableBackColor;

@property (strong,nonatomic) IBInspectable NSString *normalHexColor;
@property (strong,nonatomic) IBInspectable NSString *selectHexColor;
@property (strong,nonatomic) IBInspectable NSString *highlightHexColor;
@property (strong,nonatomic) IBInspectable NSString *disableHexColor;

@end

@interface UIButton (ADUtil)

- (void)setLayout:(ADButtonLayout)layout spacing:(CGFloat)spacing;

@end
